<div class="bjui-pageContent">
    <form action="{:url('TplDomain/edit')}" class="pageForm" data-toggle="validate" method="post">
        <input type="hidden" name="tdid" value="{$list.tdid}"/>
        <table class="table-bordered table-condensed table-hover" width="100%">
            <tbody>
            <tr>
                <td>
                    <label for="j_tname" class="control-label x85">模版名称：</label>
                    <input type="text" name="tname" id="j_tname" value="{$list.tname}" data-rule="required;tname;remote[{:url('TplDomain/same',['tname'=>urlencode($list['tname'])])}]" size="25" />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="j_tplno" class="control-label x85">模版路径：</label>
                    <input type="text" value="/tpl/dm/" disabled size="8" />&nbsp;
                    <input type="text" name="tdno" id="j_tplno" value="{$list.tdno}" data-rule="required;tdno;remote[{:url('TplDomain/same',['tdno'=>urlencode($list['tdno'])])}]" size="16" />
                </td>
            </tr>
            <tr>
                <td style="height:35px;">
                    <label for="j_tplimg" class="control-label x85">预览图片：</label>
                    系统自动生成
                </td>
            </tr>
            <tr>
                <td style="height:35px;">
                    <label for="j_used" class="control-label x85">模版状态：</label>
                    <input type="radio" name="used" id="j_used_1" data-toggle="icheck" value="0" {eq name="$list.used" value="0"}checked{/eq} data-label="未用&nbsp;&nbsp;">
                    <input type="radio" name="used" id="j_used_2" data-toggle="icheck" value="1" {eq name="$list.used" value="1"}checked{/eq} data-label="在用">
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="undo">取消</button></li>
        <li><button type="submit" class="btn-green" data-icon="save">保存</button></li>
    </ul>
</div>